﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entity;
using System.Data;

namespace Business.IManager
{

    
     public interface IOrderManager
    {


          String getOrderId(String paymentType);
          bool generateOrder(BankPay bankPay, NetworkPort port, List<ProjectOrder> orders, List<OrderDetail> details, string stuId);
          DataSet getStuCardOrderInfor(String stuId);
          DataSet getUtilityOrderInfor(String stuId);
          DataSet getNetworkPortOrderInfor(String stuId);
          DataSet getPaymentProjectInfor(String stuId);
          DataSet getProjectDetailInfor(String orderId, int stuProjectId);

         /// <summary>
         /// 获得学费订单列表数据集
         /// 不包括详细信息
         /// 实际是关联数据库三张单项表得到
         /// </summary>
         /// <returns></returns>
          DataSet getTuitionOrderSet();




          /// <summary>
          /// 获得学费历史记录集
          /// 包含所有信息
          /// 涉及表：
          /// 缴费订单、缴费订单详细、学生个人缴费项、缴费项目明细、缴费项目
          /// </summary>
          /// <returns></returns>
          DataSet getTuitionSet();


          /// <summary>
          /// 获得学费详细数据集
          /// </summary>
          /// <returns></returns>
          DataSet getTuitionDetailSet(String orderId);



          
          //DataSet getStuCardOrderSet();

          DataSet getTuitionOrderSetByStudentId(string studentId);
          DataSet getStuCardOrderSetByStudentId(string studentId);
          DataSet getNetworkOrderSetByStudentId(string studentId);
          DataSet getUtilityOrderSetByStudentId(string studentId);
          DataSet getTuitionOrderDetailByOrderId(string orderId);


    }
}
